<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>订单结算</title>
		<meta name="keywords" content="KEYWORDS..." />
		<meta name="description" content="DESCRIPTION..." />
		<meta name="author" content="DeathGhost" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name='apple-touch-fullscreen' content='yes'>
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta name="format-detection" content="address=no">
		<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
		<link rel="stylesheet" type="text/css" href="__STATIC__/home/css/reset.css">
		<link rel="stylesheet" type="text/css" href="__STATIC__/home/css/style.css" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/home/layui/css/layui.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery-1.11.1.min.js" ></script>
		<script type="text/javascript" src="__STATIC__/home/js/date.js" ></script>
		<script type="text/javascript" src="__STATIC__/home/js/iscroll.js" ></script>
		<script type="text/javascript" src="__STATIC__/home/layui/layui.js" charset="utf-8"></script>
		<style>
			.pay-order-header{
				padding:1.35rem 0;
			}
		</style>
		<script>
			$(function() {
				var all = $("#time").html();
				var s = Number(all.substring(all.indexOf(":") + 1, all.length + 1));
				var f = setInterval(function() {
					s--;
					var str = "0:0"+s;
					$("#time").html(str);
					if(s==0){
						window.clearInterval(f);
						window.location.href="/home/order/order";
					}
				}, 1000)
			})
			/*支付标签切换*/
			$(function(){
				$(".payway").click(function(){
					$(".fr>img").attr("src","img/check (1).png");
					$(this).find(".fr>img").attr("src","img/check (2).png") ;
				})
			})
		</script>

	<script type="text/javascript">
		$(function(){
			$('#beginTime').date();
			$('#endTime').date({theme:"datetime"});
		});
	</script>
	</head>

	<body style="overflow-y: scroll;height: 100%;">
		<div class="pay-order-header">
			<ul>
				<li>支付成功！</li>
				<li id="time">0:03</li>
			</ul>
		</div>
		</table>
		
<div id="datePlugin"></div>
	</body>
	<script>
	$(".changeAddress").click(function(){
		window.location.href="/home/own/address";
	});

	function confirmOrder(){
		var eatWay = $(".eatWay").val();
		
	}
	</script>
</html>